package org.minuframework.kdniao.logistics;

import org.minuframework.kdniao.logistics.entity.KdniaoLogistics;

public class KdniaoLogisticsDemo{
    
    public static void main(String[] args){
        KdniaoTrackQueryAPI api = new KdniaoTrackQueryAPI();
        try {
            KdniaoLogistics result = api.getOrderTraces("YZPY", "9893344125866");
            System.out.println(result.toString());
            System.out.println(result.getTraces());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    
}
